package gsp420.helloworld;

import java.awt.Graphics;

public class Ball
{
	float radius;
	Vector2 pos = new Vector2();
	Vector2 v = new Vector2();
	
	public Ball(float r, Vector2 pos){
		this.pos.set(pos);
		this.radius = r;
	}
	
	public void draw(Graphics g){
		g.fillOval((int)(pos.x-radius), (int)(pos.y-radius), 2*(int)radius, 2*(int)radius);
	}
}
